package com.bazinga.contact.model;

import java.io.Serializable;
import java.sql.Time;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="jobSchedule")
public class JobSchedule implements Serializable{

	private static final long serialVersionUID = -7114208325521715345L;
	
	private Long jschid;
	private Long jobid;
	private String dayofweek;
	private Time start_time;
	private Time end_time;

	@Id
	@GeneratedValue
	@Column(name="jschid")
	public Long getJschid() {
		return jschid;
	}
	@Column(name="jschid")
	public void setJschid(Long jschid) {
		this.jschid = jschid;
	}
	@Column(name="jobid")
	public Long getJobid() {
		return jobid;
	}
	@Column(name="jobid")
	public void setJobid(Long jobid) {
		this.jobid = jobid;
	}
	@Column(name="dayofweek")
	public String getDayofweek() {
		return dayofweek;
	}
	@Column(name="dayofweek")
	public void setDayofweek(String dayofweek) {
		this.dayofweek = dayofweek;
	}
	@Column(name="start_time")
	public Time getStart_time() {
		return start_time;
	}
	@Column(name="start_time")
	public void setStart_time(Time start_time) {
		this.start_time = start_time;
	}
	@Column(name="end_time")
	public Time getEnd_time() {
		return end_time;
	}
	@Column(name="end_time")
	public void setEnd_time(Time end_time) {
		this.end_time = end_time;
	}
}


